package org.pb.order.service;

import org.pb.basic.service.IBaseService;
import org.pb.order.domain.ProductOrder;
import org.pb.order.query.ProductOrderQuery;
import org.pb.user.domain.LoginInfo;

import java.util.Map;

public interface IProductOrderService extends IBaseService<ProductOrder, ProductOrderQuery> {

    /**
     * 提交支付订单
     * @param params
     * @param loginInfo
     * @return
     */
    String submit(Map<String, Object> params, LoginInfo loginInfo);

    /**
     * 修改服务订单订单状态
     * 修改支付单状态
     * @param orderId
     */
    void cancelOrder(Long orderId);
}
